/**
 * 
 */
package fr.greta.centreFormation.bean;

import java.util.ArrayList;


/**
 * @author Betty Boop
 *
 */
public class Module {

	private int idModule;
	private String intituleModule;
	private String descriptionModule;
	private ArrayList<Cursus> collectionDeCursus = new ArrayList<Cursus>();
	
	public ArrayList<Cursus> getAllUE(){
		return collectionDeCursus;
			}

	/**
	 * 
	 */
	public Module() {
		super();
	}

	/**
	 * @return the idModule
	 */
	public int getIdModule() {
		return idModule;
	}

	/**
	 * @param idModule the idModule to set
	 */
	public void setIdModule(int idModule) {
		this.idModule = idModule;
	}

	/**
	 * @return the intituleModule
	 */
	public String getIntituleModule() {
		return intituleModule;
	}

	/**
	 * @param intituleModule the intituleModule to set
	 */
	public void setIntituleModule(String intituleModule) {
		this.intituleModule = intituleModule;
	}

	/**
	 * @return the descriptionModule
	 */
	public String getDescriptionModule() {
		return descriptionModule;
	}

	/**
	 * @param descriptionModule the descriptionModule to set
	 */
	public void setDescriptionModule(String descriptionModule) {
		this.descriptionModule = descriptionModule;
	}

	/**
	 * @return the collectionDeCursus
	 */
	public ArrayList<Cursus> getCollectionDeCursus() {
		return collectionDeCursus;
	}

	/**
	 * @param collectionDeCursus the collectionDeCursus to set
	 */
	public void setCollectionDeCursus(ArrayList<Cursus> collectionDeCursus) {
		this.collectionDeCursus = collectionDeCursus;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Module [idModule=" + idModule + ", intituleModule="
				+ intituleModule + ", descriptionModule=" + descriptionModule
				+ ", collectionDeCursus=" + collectionDeCursus + "]";
	}

	



}
